Leat\Domain\Services\GiftcardProductService C

Total Complexity 109
Dependencies 8
Dependents 1
Total lines 855
Lines of code 537
Logical lines of code 275
Comment lines 187
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
process_giftcard_order()
D
27
27 163
handle_giftcard_withdrawal_refund()
A
41 13 58
handle_giftcard_withdrawal()
A
43 10 50
validate_giftcard_recipient_email()
A
54 8 19
add_giftcard_recipient_field()
S
46 6 40
save_giftcard_recipient_email()
S
50 6 29
add_refund_field_script()
S
54 6 23
send_giftcard_email()
S
49 5 31
create_giftcard()
S
55 5 20
save_giftcard_program_settings()
S
58 5 15
add_giftcard_program_settings()
S
51 4 26
init()
S
52 4 22
find_matching_refunded_order_item()
S
63 3 10
calculate_giftcard_amount()
S
67 3 7
format_giftcard_meta_display()
S
64 2 10
add_giftcard_product_tab()
S
67 1 8
__construct()
S
71 1 6